package com.liming.common.pojo.vo.order.mini;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author liming
 * @date 2025/4/2
 */
@Data
@Schema(description = "小程序 - 订单VO")
public class MiniOrderVO {

    @Schema(description = "订单ID")
    private Long id;

    @Schema(description = "订单状态 0-未支付, 1-已支付, 2-待发货,3-已发货, 4-待自提, 5-已完成, 6- 待退款，7-已取消")
    private Integer status;

    @Schema(description = "订单金额")
    private BigDecimal realAmount;

    @Schema(description = "订单项")
    private List<MiniOrderItemVO> items;

    @Schema(description = "订单是否能够评价（前提是已完成订单）： 0 不能 1能 ")
    private Integer canComment;
}
